Integrand size = 13, antiderivative size = 9 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-i x+\log (\sin (x)) \]
[Out]
Time = 0.04 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.154, Rules used = {3568, 31} \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=\log (\sin (x))-i x \]
[In]
[Out]
Rule 31
Rule 3568
Rubi steps \begin{align*} \text {integral}& = -\text {Subst}\left (\int \frac {1}{i+x} \, dx,x,\cot (x)\right ) \\ & = -i x+\log (\sin (x)) \\ \end{align*}
Time = 0.00 (sec) , antiderivative size = 12, normalized size of antiderivative = 1.33 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-i x+\log (\cos (x))+\log (\tan (x)) \]
[In]
[Out]
Time = 0.08 (sec) , antiderivative size = 9, normalized size of antiderivative = 1.00
method | result | size |
derivativedivides | \(-\ln \left (i+\cot \left (x \right )\right )\) | \(9\) |
default | \(-\ln \left (i+\cot \left (x \right )\right )\) | \(9\) |
risch | \(-2 i x +\ln \left ({\mathrm e}^{2 i x}-1\right )\) | \(14\) |
[In]
[Out]
none
Time = 0.27 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.22 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-2 i \, x + \log \left (e^{\left (2 i \, x\right )} - 1\right ) \]
[In]
[Out]
Time = 2.58 (sec) , antiderivative size = 7, normalized size of antiderivative = 0.78 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=- \log {\left (\cot {\left (x \right )} + i \right )} \]
[In]
[Out]
none
Time = 0.24 (sec) , antiderivative size = 7, normalized size of antiderivative = 0.78 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-\log \left (\cot \left (x\right ) + i\right ) \]
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 15 vs. \(2 (7) = 14\).
Time = 0.27 (sec) , antiderivative size = 15, normalized size of antiderivative = 1.67 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-2 \, \log \left (\tan \left (\frac {1}{2} \, x\right ) - i\right ) + \log \left (\tan \left (\frac {1}{2} \, x\right )\right ) \]
[In]
[Out]
Time = 12.63 (sec) , antiderivative size = 11, normalized size of antiderivative = 1.22 \[ \int \frac {\csc ^2(x)}{i+\cot (x)} \, dx=-\mathrm {atan}\left (2\,\mathrm {tan}\left (x\right )-\mathrm {i}\right )\,2{}\mathrm {i} \]
[In]
[Out]